package com.hex.ds.hdtp.core.app.data.table.dto.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.hex.ds.hdtp.core.app.data.table.dto.response.TableTransferFieldMapResponseDto;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;
import java.util.List;

@Data
public class TableTransferListExcelDto implements Serializable {

    private String pkId;

    private String taskName;
    private String taskPkId;
    @Excel(name = "源库名（必填项）")
    private String sourceDbName;
    @Excel(name = "源表名（必填项）")
    private String sourceTableName;
    @Excel(name = "目标库名")
    private String targetDbName;
    @Excel(name = "目标表名")
    private String targetTableName;

    private String sourceCreateSql;
    @Excel(name = "目标建表语句")
    private String targetCreateSql;

    private String isStructureUpdate;
    @Excel(name = "分区字段名")
    private String partitionFieldName;

    private List<String> partitionFieldNameList;

    private String status;

    private String sourceConnPkId;

    private String targetConnPkId;
    private String sourceConnName;
    private String targetConnName;

    private String transferMethod;

    private List<TableTransferFieldMapResponseDto> tableTransferFieldMapList;
}
